// sound properties and methods
const SOUND_UPDATE          = 'sound-update';
const SOUND_NEW             = 'sound-new';

const API_BASE_URL          = 'https://twitter.com/';
const SERVICE_BASE_URL      = 'http://twitter.com/';

const DEFAULT_TIMEOUT       = 1000 * 20;
const UPDATE_TIMEOUT        = 1000 * 40; // Twitter updates can take longer than other requests
const GOOGLE_LANG_TIMEOUT   = 1000 * 5;

const TRANSLATION_LANGUAGES = {
    'ar': 'Arabic',
    'bg': 'Bulgarian',
    'ca': 'Catalan',
    'zh': 'Chinese',
    'zh-CN': 'Chinese Simplified' ,
    'zh-TW': 'Chinese Traditional',
    'hr': 'Croatian',
    'cs': 'Czech',
    'da': 'Danish',
    'nl': 'Dutch',
    'en': 'English',
    'tl': 'Filipino',
    'fi': 'Finnish',
    'fr': 'French',
    'de': 'German',
    'el': 'Greek',
    'iw': 'Hebrew',
    'hi': 'Hindi',
    'id': 'Indonesian',
    'it': 'Italian',
    'ja': 'Japanese',
    'ko': 'Korean',
    'lv': 'Latvian',
    'lt': 'Lithuanian',
    'no': 'Norwegian',
    'pl': 'Polish',
    'pt-PT': 'Portuguese',
    'ro': 'Romanian',
    'ru': 'Russian',
    'sr': 'Serbian',
    'sk': 'Slovak',
    'sl': 'Slovenian',
    'es': 'Spanish',
    'sv': 'Swedish',
    'uk': 'Ukrainian',
    'vi': 'Vietnamese',
};